package com.yungu.swift.system.sys.model.dto;

import com.yungu.swift.base.model.BaseDto;

import java.util.List;


/**
 * 资源表
 **/

public class SysResourceDto extends BaseDto {

    public static final int RES_STATUS_OK = 1;
    public static final int RES_STATUS_NO = 2;

    /**
     * 资源名称
     **/
    private String resourceName;

    /**
     * 资源的 url
     **/
    private String resourceUrl;

    /**
     * 1主菜单, 2按钮
     **/
    private Integer resourceType;

    /**
     * 资源状态
     **/
    private Integer resourceStatus;

    /**
     * 备注
     **/
    private String resourceRemark;

    /**
     * 父资源
     **/
    private String resourceParent;

    /**
     * 父资源名称【非数据库字段】
     */
    private String resourceParentName;

    /**
     * 排序
     **/
    private Integer resourceSort;

    /**
     * icon样式
     */
    private String menuIcon;

    /**
     * 资源
     */
    private List<SysResourceDto> sysResourceDtoList;


    public void setResourceName(String resourceName) {
        this.resourceName = resourceName;
    }

    public String getResourceName() {
        return this.resourceName;
    }

    public void setResourceUrl(String resourceUrl) {
        this.resourceUrl = resourceUrl;
    }

    public String getResourceUrl() {
        return this.resourceUrl;
    }

    public void setResourceType(Integer resourceType) {
        this.resourceType = resourceType;
    }

    public Integer getResourceType() {
        return this.resourceType;
    }

    public void setResourceStatus(Integer resourceStatus) {
        this.resourceStatus = resourceStatus;
    }

    public Integer getResourceStatus() {
        return this.resourceStatus;
    }

    public void setResourceRemark(String resourceRemark) {
        this.resourceRemark = resourceRemark;
    }

    public String getResourceRemark() {
        return this.resourceRemark;
    }

    public void setResourceParent(String resourceParent) {
        this.resourceParent = resourceParent;
    }

    public String getResourceParent() {
        return this.resourceParent;
    }

    public String getResourceParentName() {
        return resourceParentName;
    }

    public void setResourceParentName(String resourceParentName) {
        this.resourceParentName = resourceParentName;
    }

    public void setResourceSort(Integer resourceSort) {
        this.resourceSort = resourceSort;
    }

    public Integer getResourceSort() {
        return this.resourceSort;
    }

    public String getMenuIcon() {
        return menuIcon;
    }

    public void setMenuIcon(String menuIcon) {
        this.menuIcon = menuIcon;
    }

    public List<SysResourceDto> getSysResourceDtoList() {
        return sysResourceDtoList;
    }

    public void setSysResourceDtoList(List<SysResourceDto> sysResourceDtoList) {
        this.sysResourceDtoList = sysResourceDtoList;
    }
}
